]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - Super Polarity/SuperPolarity.cs
Chubas's house sprint.
[rbdr/super-polarity] / Super Polarity / SuperPolarity.cs
index 8125f8cdcea147b608d2f4b5c074bd577201cee3..9311d5311c59c371127f151afdf51821761f9b60 100644 (file)
@@ -36,6 +36,8 @@ namespace SuperPolarity
             : base()
         {
             graphics = new GraphicsDeviceManager(this);
+            Components.Add(new GamerServicesComponent(this));
+
             graphics.PreferMultiSampling = true;
             graphics.PreferredBackBufferWidth = 1280;
             graphics.PreferredBackBufferHeight = 720;
@@ -147,9 +149,13 @@ namespace SuperPolarity
 
         public void GameOver()
         {
+            var scoreScreen = new ScoreScreen(this);
+            scoreScreen.Initialize();
+
             MediaPlayer.Stop();
             GameOverSound.Play();
             ScreenManager.Pop();
+            ScreenManager.Push(scoreScreen);
         }
     }
 }